// import { PartialType } from '@nestjs/swagger';
// import { CreateArticleDto } from './create-article.dto';
import { IsNotEmpty, IsString, Length } from 'class-validator'
export class UpdateArticleDto {
    title?: string;
    content?: string;
    category?: Array<string>;
    tags?: Array<string>;
    right?: '公开'|'私有';
    @IsNotEmpty({ message: '文章状态不能为空' })
    publish_status?: number;
    views?: number;
    likes?: number;
    collections?: number;
}
